import numpy as np

arr1= np.array([1,2,3,4,5,6])
print(arr1.shape)

arr2= np.array([[1,2,3],[4,5,6]])
print(arr2.shape)

arr3= np.array([[[1,2,3],[3,4,5]],
                [[4,5,6],[5,6,7]],
                [[1,2,3],[8,5,9]]])
print(arr3.shape)

print("数组的行数：{0}".format(arr1.shape[0]))

print("数组2的列数：{0}".format(arr2.shape[1]))

print("三维数组中元素值：{0}".format(arr3[1][1][1]))